package com.example.hostsys.dao;

import com.example.hostsys.entity.HostMan;
import com.example.hostsys.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface HostDao extends JpaRepository<HostMan,Integer> {
    HostMan findByUser(User user);
}
